package com.example.lishop.service

import com.example.lishop.entity.BUserEntity
import org.springframework.data.domain.Page

/**
 * Created on 2021/3/14 17:58
 * @author shuguo
 */
interface UserService {
    fun add(data: BUserEntity):BUserEntity
    fun update(data:BUserEntity)
    fun del(bean:BUserEntity)
    fun list (page:Int, size:Int): Page<BUserEntity>
    fun detail(bean:BUserEntity): BUserEntity?
    fun detailByPhone(bean: BUserEntity): BUserEntity?
}